﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KProject.Model
{
    class Jurado
    {
        public int? Id { get; set; }
        public string Nome { get; set; }

        public override bool Equals(object obj)
        {
            return (obj.GetType() == typeof(Jurado) && obj != null && this.Id != null && ((Jurado)obj).Id != null && this.Id == ((Jurado)obj).Id);
        }

        public override int GetHashCode()
        {
            return this.Id ?? 0;
        }
    }
}
